package com.dyna.service.Imp;

import com.dyna.bean.AdminUsernameAndPasswordBean;
import com.dyna.dao.AdminLoginDao;
import com.dyna.service.AdminLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminLoginServiceImp implements AdminLoginService {
    @Resource
    private AdminLoginDao adminLoginDao;

    @Override
    public AdminUsernameAndPasswordBean findAdminLogin(String username, String password) {
        return adminLoginDao.adminLogin(username,password);
    }
}
